/* Tags */
#tags {
    margin-top: 10px;
}
#tags a {
    text-decoration: none;
}

#tags li {
    margin: 0 10px 10px 0;
    float: left;
    text-align: center;
    line-height: 17px;
    overflow: hidden;
}

.image-grid-div, .tags-div {
    float: left;    
}

.button, .thumbnail-box {
   border-top: 1px solid #987b48;
   background: #987b48;
   background: -webkit-gradient(linear, left top, left bottom, from(#664c24), to(#987b48));
   background: -webkit-linear-gradient(top, #664c24, #987b48);
   background: -moz-linear-gradient(top, #664c24, #987b48);
   background: -ms-linear-gradient(top, #664c24, #987b48);
   background: -o-linear-gradient(top, #664c24, #987b48);   
   padding: 5px 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 14px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover, .thumbnail-box:hover {
   border-top-color: #302410;
   background: #302410;
   color: #ccc;
   }
.active {
   border-top-color: #302410;
   background: #302410;
   }

/* grid portfolio layout */
.image-grid, #tags {
    width: 700px;
    list-style: none;
}

.image-grid li {
    width: 126px;
    margin: 20px 0 0 20px;
    float: left;
    text-align: center;
    line-height: 17px;
    height: 100px;
    overflow: hidden;
}
.image-grid li img, .image-grid li strong {
    display: block;
}
.image-grid li strong {
    margin-top: 2px;
    color: #fff;
}

.thumbnail-box {
   padding: 7px 10px 7px 7px;
}

.thumbnail-box img {
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
   border: 2px solid #664c24;
}

/* popup */
.popup {
  background: #6C5D48;
  border: 2px solid #A89479;
  -moz-box-shadow: 0px 0px 7px #777;
  -webkit-box-shadow: 0px 0px 7px #777;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  width: 800px;
}
.popup .bClose {
  cursor: pointer;
}
.popup h2{
  color: #BEB09A;
  margin: 0px;
}
.popup .popup-title {
  padding: 7px 12px 7px 12px;
  background: #322511;
  text-shadow: 0px 1px 1px #000;
}
.popup .popup-content{
  margin: 10px;
}
.popup .popup-content img{
  margin: 0px 10px 10px 0px;
  border: 2px solid #A89479;
  -moz-box-shadow: 5px 5px 5px #333;
  -webkit-box-shadow: 5px 5px 5px #333;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  float:left;
  margin-right: 15px;
}

.popup p{
  color: #DFDCD8;
}

.close_icon {
    background: url("/images/close_yellow_icon.png") no-repeat scroll 0 0 transparent;
    height: 24px;
    width: 24px;
}

.popup h3{
  background-color: #8E714B;
  padding-left: 10px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

